home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000274_news@newsmaster….columbia.edu _Sat Feb 28 15:56:40 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA16891
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 28 Feb 1998 15:56:39 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA05381
  7.     for kermit.misc@watsun; Sat, 28 Feb 1998 15:56:39 -0500 (EST)
  8. Path: news.columbia.edu!sol.ctr.columbia.edu!gondor!newshub1.wanet.net!uunet!in3.uu.net!ais.net!news-peer.sprintlink.net!news-peer-east.sprintlink.net!news.sprintlink.net!Sprint!rill.news.pipex.net!pipex!bore.news.pipex.net!pipex!join.news.pipex.net!pipex!krypton.inbe.net!INbe.net!be007054
  9. From: michel.dalle@village.uunet.be (Michel Dalle)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Catching errors while executing 'run console-app' commands in K95 ?
  12. Date: Sat, 28 Feb 1998 13:29:52 GMT
  13. Organization: UUNET Benelux (post does not reflect views of UUNET Benelux)
  14. Lines: 38
  15. Message-ID: <6d8vrv$br1$1@xenon.inbe.net>
  16. References: <6d6jic$q5a$1@horus.mch.sni.de> <6d6oq6$7bt$1@apakabar.cc.columbia.edu>
  17. NNTP-Posting-Host: pool03-194-7-13-116.uunet.be
  18. X-Newsreader: News Xpress 2.01
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:8466
  20.  
  21. In article <6d6oq6$7bt$1@apakabar.cc.columbia.edu>, fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
  22. >In article <6d6jic$q5a$1@horus.mch.sni.de>,
  23. >Michel Dalle <Michel.Dalle@sni.be> wrote:
  24. >: In a Kermit script, I want to launch a "console application" (something that
  25. >: runs in the DOS box of Windows 95 and NT). The console application returns a
  26. >: status of 0 if everything is OK, and it sends some messages to STDOUT. If
  27. >: the console application failes, it returns a status of 1, 2, 3, ... and
  28. >: prints a corresponding message to STDERR (this can be modified if needed).
  29. >...
  30. >: 2) know whether the console application executed correctly or not.
  31. >: 
  32. >This depends on the program's exit status code.  However, K95 has a bug in
  33. >which the return code of a program or command that you start from K95 is not
  34. >captured.  This bug is fixed in 1.1.16, to be announced shortly.
  35. >...
  36. >: From what I've seen in tests, \v(status) and \v(exitstatus) always return 0,
  37. >: and \v(pexitstat) always returns 1, independently of the success or failure
  38. >: of the console application (at least on Windows 95... ).
  39. >:
  40. >Right, that's the bug described above.  We'll have a fix for you soon.
  41. >
  42.  
  43. Sorry to be pushy, but any idea when 1.1.16 is going to be available exactly ? 
  44. On the Kermit Website, it mentions March 1998, but is this tomorrow or on the 
  45. 31st of March ? The reason I ask is because I'm right in the middle of coding 
  46. a script for a financial institution, and tests are planned for the end of the 
  47. week.
  48. I need to do some file modifications during the script, and I wanted to do 
  49. that in a separate program because Kermit scripts were not the most 
  50. appropriate tool (for that). But if I can't reliably catch errors this way, 
  51. I'll have to do the file modifications in Kermit itself (ouch), or create an 
  52. error file if things go wrong in the console app (similar to what's do like in 
  53. host.ksc when executing DOS commands).
  54.  
  55. Any ideas ? 
  56. And do all these error catching problems also occur on Windows NT ?
  57.  
  58. Michel.